package com.kk.xhr.admin.biz;

import com.kk.xhr.admin.controller.request.TransferAddRequest;
import com.kk.xhr.admin.controller.request.TransferQueryRequest;
import com.kk.xhr.admin.controller.vo.TransferVO;
import com.kk.xhr.common.pojo.BinaryEnum;
import com.kk.xhr.web.vo.PageVO;

/**
 * 调岗biz服务接口
 *
 * @author kkmystery
 * @version 1.0 2021/3/7
 * @since 1.0.0
 */
public interface ITransferBizService {

    /**
     * 分页查询
     *
     * @param request TransferQueryRequest
     * @return TransferVO
     */
    PageVO<TransferVO> queryPage(TransferQueryRequest request);

    /**
     * 添加调岗
     *
     * @param request AdjustSalaryAddRequest
     */
    void add(TransferAddRequest request);

    /**
     * 修改调岗状态
     *
     * @param id     主键id
     * @param status 状态
     * @return 是否成功
     */
    boolean modifyStatus(Long id, BinaryEnum status);
}
